#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <UIKit/UIView.h>
#import <UIKit/UIImageView.h>
#import "MTTetrominosEngine.h"


//const int FIELD_WIDTH = 10;
//const int FIELD_HEIGHT = 24;

@interface MTTetrominosView : UIView
{
	UIImageView* _cellImage[10][24];
	MTTetrominosEngine* _engine;
}

- (id) initWithEngine: (MTTetrominosEngine*)engine WithFrame: (CGRect)frame;
- (void) initView;
- (void) paint;
- (void) dealloc;

@end
